apply plugin: 'com.android.application'

android {
	compileSdk 34

    defaultConfig {
        applicationId       'AE.External'
        minSdkVersion       24 // for vulkan
		targetSdkVersion 	34

        ndk {
            abiFilters "armeabi-v7a", "arm64-v8a" //, "x86", "x86_64"
        }
        externalNativeBuild {
            cmake {
                arguments '-DANDROID_STL=c++_static',
						  '-DANDROID_ARM_NEON=ON'
            }
        }
    }
    buildTypes {
        release {
            minifyEnabled = false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    externalNativeBuild {
        cmake {
            version '3.26.4'
            path 'src/main/cpp/CMakeLists.txt'
        }
    }
	android {
		namespace 'AE.External'
	}

    ndkVersion "26.3.11579264"
}
